package com.hyq.learn.security.cipher;

import jakarta.servlet.http.HttpServletRequest;

/**
 * @author : heyuqin
 * @since : 2024/03/06 15:23
 */
public interface KeyProvider {
    /**
     * 获取加解密的key
     *
     * @param request 请求
     * @return {@link CipherKey}
     */
    CipherKey get(HttpServletRequest request);
}
